How do you check if a string is palindrome in JS

welcome to shbcf.ru